package com.lion.ball.modules.orderfood.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.beans.factory.annotation.Autowired;
import com.lion.common.spring.business.base.BaseCrudController;
import com.lion.ball.modules.orderfood.domain.entity.OfdFoodSkuOptionEntity;
import com.lion.ball.modules.orderfood.web.model.params.create.OfdFoodSkuOptionCreateParam;
import com.lion.ball.modules.orderfood.web.model.params.update.OfdFoodSkuOptionUpdateParam;
import com.lion.ball.modules.orderfood.web.model.params.search.OfdFoodSkuOptionSearchParam;
import com.lion.ball.modules.orderfood.web.model.params.order.OfdFoodSkuOptionOrderParam;
import com.lion.ball.modules.orderfood.web.model.results.OfdFoodSkuOptionResult;
import com.lion.ball.modules.orderfood.dao.repository.OfdFoodSkuOptionRepository;
import com.lion.ball.modules.orderfood.service.assistants.converters.OfdFoodSkuOptionConverter;
import com.lion.ball.modules.orderfood.service.def.OfdFoodSkuOptionService;
import com.lion.ball.modules.orderfood.web.api.OfdFoodSkuOptionApi;

/**
 * @author Chris Chan
 * Create on 2025-10-18 13:33
 * Use for: 食品选项 接口实现
 * Explain:
 * 
 */
@RestController
@RequestMapping("ofd/food/sku/option")
public class OfdFoodSkuOptionController implements OfdFoodSkuOptionApi, BaseCrudController<
        OfdFoodSkuOptionEntity,
        OfdFoodSkuOptionCreateParam,
        OfdFoodSkuOptionUpdateParam,
        OfdFoodSkuOptionSearchParam,
        OfdFoodSkuOptionOrderParam,
        OfdFoodSkuOptionResult,
        OfdFoodSkuOptionRepository,
        OfdFoodSkuOptionConverter,
        OfdFoodSkuOptionService
        > {

    @Autowired
    OfdFoodSkuOptionService ofdFoodSkuOptionService;

    @Override
    public OfdFoodSkuOptionService getService() {
        return ofdFoodSkuOptionService;
    }
}